package com.hongdee.base.maint.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/2/13.
 */
@Entity
@Table(name = "T_BC_MAINTAIN_TYPE")
public class TBcMaintantType extends BaseEntity {
    /**
     * 维修大类编码
     */
    @Column(name = "maint_p_code", length = 32, columnDefinition = " VARCHAR(32) COMMENT '维修大类编码' ")
    private String maintPCode;
    /**
     * 维修大类名称
     */
    @Column(name = "maint_p_name", length = 64, columnDefinition = " VARCHAR(64) COMMENT '维修大类名称' ")
    private String maintPName;
    /**
     * 关联类型0 关联类别1关联项目
     */
    @Column(name = "maint_ref", length = 1, columnDefinition = " VARCHAR(1) COMMENT '关联类型0 关联类别1关联项目' ")
    private String maintRef;
    /**
     * 关联关系类型 0 等于 1 包含
     */
    @Column(name = "maint_ref_type", length = 1, columnDefinition = " VARCHAR(1) COMMENT '关联关系类型 0 等于 1 包含' ")
    private String maintRefType;
    /**
     * 维修类别名称
     */
    @Column(name = "maint_type_name", length = 64, columnDefinition = " VARCHAR(64) COMMENT '维修类别名称' ")
    private String maintTypeName;
    /**
     * 维修项目名称
     */
    @Column(name = "maint_project_name", length = 64, columnDefinition = " VARCHAR(64) COMMENT '维修项目名称' ")
    private String maintProjectName;
    /**
     * 使用公司 ID
     */
    @Column(name = "company_id", length = 256, columnDefinition = " VARCHAR(256) COMMENT '使用公司 ID' ")
    private String companyId;
    /**
     * 状态
     */
    @Column(name = "status", length = 1, columnDefinition = " VARCHAR(1) COMMENT '状态' ")
    private String status;

    /**
     * 状态
     */
    @Column(name = "is_code", length = 1, columnDefinition = " VARCHAR(10) COMMENT '是否取编码' ")
    private String isCode;

    public String getIsCode() {
        return isCode;
    }

    public void setIsCode(String isCode) {
        this.isCode = isCode;
    }

    /**
     * @return maintPCode
     */
    public String getMaintPCode() {
        return maintPCode;
    }

    /**
     * @param maintPCode String
     */
    public void setMaintPCode(String maintPCode) {
        this.maintPCode = maintPCode;
    }

    /**
     * @return maintPName
     */
    public String getMaintPName() {
        return maintPName;
    }

    /**
     * @param maintPName String
     */
    public void setMaintPName(String maintPName) {
        this.maintPName = maintPName;
    }

    /**
     * @return maintRef
     */
    public String getMaintRef() {
        return maintRef;
    }

    /**
     * @param maintRef String
     */
    public void setMaintRef(String maintRef) {
        this.maintRef = maintRef;
    }

    /**
     * @return maintRefType
     */
    public String getMaintRefType() {
        return maintRefType;
    }

    /**
     * @param maintRefType String
     */
    public void setMaintRefType(String maintRefType) {
        this.maintRefType = maintRefType;
    }

    /**
     * @return maintTypeName
     */
    public String getMaintTypeName() {
        return maintTypeName;
    }

    /**
     * @param maintTypeName String
     */
    public void setMaintTypeName(String maintTypeName) {
        this.maintTypeName = maintTypeName;
    }


    /**
     * @return maintProjectName
     */
    public String getMaintProjectName() {
        return maintProjectName;
    }

    /**
     * @param maintProjectName String
     */
    public void setMaintProjectName(String maintProjectName) {
        this.maintProjectName = maintProjectName;
    }

    /**
     * @return companyId
     */
    public String getCompanyId() {
        return companyId;
    }

    /**
     * @param companyId String
     */
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    /**
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status String
     */
    public void setStatus(String status) {
        this.status = status;
    }
}